using System;

namespace eduSrc.Models
{
    [Serializable]
    public class Vote
    {
        #region Private Fields

        private int _id = 0;
        private String _moduleCn = String.Empty;
        private String _subject = String.Empty;
        private int _total = 0;
        private int _lockEnable = 0;
        private DateTime _recordDate = DateTime.Now;

        #endregion 

        #region Properties

        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }

        public String ModuleCn
        {
            set { _moduleCn = value; }
            get { return _moduleCn; }
        }

        public String Subject
        {
            set { _subject = value; }
            get { return _subject; }
        }

        public int Total
        {
            set { _total = value; }
            get { return _total; }
        }

        public int LockEnable
        {
            set { _lockEnable = value; }
            get { return _lockEnable; }
        }

        public DateTime RecordDate
        {
            set { _recordDate = value; }
            get { return _recordDate; }
        }

        #endregion
    }
}
